﻿@model SketchTour.Models.MSHT00Models
@using Resources
@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_IVSLayout.cshtml";
}
<!-- main start-->
<div id="main">
    <!-- InstanceBeginEditable name="EditRegion1" -->
    <h2>@Resource.MSHT00_SCR_tilAdd</h2>
    <!-- InstanceEndEditable -->
    <div id="error" class="error">
    </div>
    <div id="Div1" class="success">
    </div>
    <!-- InstanceBeginEditable name="EditRegion2" -->
    @using (Html.BeginForm())
    {   @Html.ValidationSummary(false, null, htmlAttributes: new { @class = "VL_Message" })   
        <div id="tabs-2">
            <table class="inputForm">
                <tbody>
                    <tr>
                        <th class="th75">
                            @Resource.MSHT00_SCR_lblName<span class="requirement">*</span>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Name, new { @style = "width:130px;" })
                            @Html.ValidationMessageFor(model => model.Name, " ")
                        </td>
                        <th scope="row" class="th75">
                            @Resource.MSHT00_SCR_lblCity <span class="requirement">*</span>
                        </th>
                        <td>
                            @Html.DropDownList("CityCode", null, String.Empty, new { style = "width:133px;" })
                            @Html.ValidationMessageFor(model => model.CityCode, " ")
                        </td>
                    </tr>
                    <tr>
                        <th>
                            @Resource.MSHT00_SCR_lblTel<span class="requirement">*</span>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Tel, new { @style = "width:130px;" })
                            @Html.ValidationMessageFor(model => model.Tel, " ")
                        </td>
                        <th scope="row">
                            @Resource.MSHT00_SCR_lblFax
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Fax, new { style = "width:130px;" })
                            @Html.ValidationMessageFor(model => model.Fax, " ")
                        </td>
                    </tr>
                    <tr>
                        <th>
                            @Resource.MSHT00_SCR_lblEmail<span class="requirement">*</span>
                        </th>
                        <td>
                            @Html.TextBoxFor(model => model.Email, new { style = "width:130px;" })
                            @Html.ValidationMessageFor(model => model.Email, " ")
                        </td>
                        <th>
                            @Resource.MSHT00_SCR_lblServiceType<span class="requirement">*</span>
                        </th>
                        <td>
                            @Html.DropDownList("ServiceTypeID", null, String.Empty, new { style = "width:133px;" })
                            @Html.ValidationMessageFor(model => model.ServiceTypeID, " ")
                        </td>
                    </tr>
                    <tr>
                        <th>
                            @Resource.MSHT00_SCR_lblAddress<span class="requirement">*</span>
                        </th>
                        <td colspan="3">
                            @Html.TextBoxFor(model => model.Address, new { style = "width:360px;" })
                            @Html.ValidationMessageFor(model => model.Address, " ")
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">
                            @Resource.MSHT00_SCR_lblNote
                        </th>
                        <td colspan="3">
                            @Html.TextAreaFor(model => model.Note, new { style = "width:360px" })
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <input type="submit" value="@Resource.Common_SCR_btnSave" />                       
        <input name="btnBack" type="button" value="@Resource.Common_SCR_btnBack" onclick="location.href='/MSHT00'" />
    }
    <div code="divList">
        <div code="divList">
            <div class="success">
                <p>
                </p>
            </div>
        </div>
    </div>
    <!-- InstanceEndEditable -->
</div>
<!-- main end-->
